import { forwardRef, Module } from '@nestjs/common'
import { VerificationService } from './verification.service'
import { AuthModule } from '../auth/auth.module'
import { VerificationController } from './verification.controller'
import { TokenService } from '../auth/token.service'
import { UserModule } from '../user/user.module'

@Module({
  imports: [AuthModule,
    forwardRef(() => UserModule)
  ],
  controllers: [VerificationController],
  providers: [VerificationService, TokenService],
  exports: [VerificationService, TokenService],
})
export class VerificationModule { }
